﻿namespace TimeTravel.Components
{
    public class ConstantInfo
    {
        /// <summary>
        /// AppSetting配置键
        /// </summary>
        public static class AppSettingConstant
        {
            /// <summary>
            /// 默认数据提供程序
            /// </summary>
            public static string DataProviderKey = "DataProvider";
            /// <summary>
            /// DES加密密钥
            /// </summary>
            public static string EncryptKey = "EncryptKey";
            /// <summary>
            /// 主页面路径（具体到文件）
            /// </summary>
            public static string MainPagePath = "IndexPagePath";
            /// <summary>
            /// 子页面路径（具体到目录）
            /// </summary>
            public static string SubPagePath = "SubPagePath";
            /// <summary>
            /// 处理超时时间
            /// </summary>
            public static string DefaultTimeout = "DefaultTimeout";
        }

        /// <summary>
        /// 缓存键
        /// </summary>
        public static class CacheConstant
        {
            /// <summary>
            /// 主页面缓存键
            /// </summary>
            public static string MainPagePath = "page_IndexPagePath";
            /// <summary>
            /// 子页面缓存键
            /// </summary>
            public static string SubPagePath = "page_SubPagePath";
        }
    }
}
